import request from '@/utils/request'

// 查询邀请函管理列表
export function listInvitationLetter(query) {
  return request({
    url: '/system/invitationLetter/list',
    method: 'get',
    params: query
  })
}

// 查询邀请函管理详细
export function getInvitationLetter(id) {
  return request({
    url: '/system/invitationLetter/' + id,
    method: 'get'
  })
}

// 新增邀请函管理
export function addInvitationLetter(data) {
  return request({
    url: '/system/invitationLetter',
    method: 'post',
    data: data
  })
}

// 修改邀请函管理
export function updateInvitationLetter(data) {
  return request({
    url: '/system/invitationLetter',
    method: 'put',
    data: data
  })
}

// 删除邀请函管理
export function delInvitationLetter(id) {
  return request({
    url: '/system/invitationLetter/' + id,
    method: 'delete'
  })
}
